/*******************************************************************************
 * Copyright (c) 2010, 2030 www.itlaobing.cn
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package cn.itlaobing.entity;

import java.io.Serializable;
import java.util.Date;

/** 
 * ClassName: UserEntity <br/> 
 * Function:用户实体类 <br/> 
 * date: 2017年11月1日 上午9:54:36 <br/> 
 * 
 * @author 王博 
 * @version  
 * @since JDK 1.8 
 */
public class UserEntity implements Serializable{
	
	private Integer id;
	private String account;
	private String pwd;
	private Date logintime;
	private String nickname;
	private String cellphone;
	/**
	 * 
	 */
	public UserEntity() {
	}
	/**
	 * @param id
	 * @param account
	 * @param pwd
	 * @param logintime
	 * @param nickname
	 * @param cellphone
	 */
	public UserEntity(Integer id, String account, String pwd, Date logintime, String nickname, String cellphone) {
		super();
		this.id = id;
		this.account = account;
		this.pwd = pwd;
		this.logintime = logintime;
		this.nickname = nickname;
		this.cellphone = cellphone;
	}
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the account
	 */
	public String getAccount() {
		return account;
	}
	/**
	 * @param account the account to set
	 */
	public void setAccount(String account) {
		this.account = account;
	}
	/**
	 * @return the pwd
	 */
	public String getPwd() {
		return pwd;
	}
	/**
	 * @param pwd the pwd to set
	 */
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	/**
	 * @return the logintime
	 */
	public Date getLogintime() {
		return logintime;
	}
	/**
	 * @param logintime the logintime to set
	 */
	public void setLogintime(Date logintime) {
		this.logintime = logintime;
	}
	/**
	 * @return the nickname
	 */
	public String getNickname() {
		return nickname;
	}
	/**
	 * @param nickname the nickname to set
	 */
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	/**
	 * @return the cellphone
	 */
	public String getCellphone() {
		return cellphone;
	}
	/**
	 * @param cellphone the cellphone to set
	 */
	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "UserEntity [id=" + id + ", account=" + account + ", pwd=" + pwd + ", logintime=" + logintime
				+ ", nickname=" + nickname + ", cellphone=" + cellphone + "]";
	}
	
}
